%input macros (i.e. write your own macros file called MacroFile1.tex)
\include{Macros/MacroFile1}

\documentclass[oneside,12pt]{Classes/CUEDthesisPSnPDF}

\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{verbatim}
\usepackage{fancyvrb}
\usepackage{url}

\ifpdf
    \pdfinfo { /Title  (Sistemas de Archivos Proxy)
               /Creator (TeX)
               /Producer (pdfTeX)
               /Author (César Izurieta cesar@ecuarock.netº)
               /CreationDate (D:20030101000000)  %format D:YYYYMMDDhhmmss
               /ModDate (D:20030815213532)
               /Subject (Sistemas de archivo proxy)
               /Keywords (Ingenería, Thesis)}
    \pdfcatalog { /PageMode (/UseOutlines)
                  /OpenAction (fitbh)  }
\fi

\title{Sistemas de archivo proxy}

\ifpdf
  \author{\href{mailto:cesar@ecuarock.net}{César Izurieta}}
  \collegeordept{\href{http://www.usfq.edu.ec/programas_de_pregrado/ingenieria/sistemas.html}{Colegio de Ciencias e Ingeniería}}
  \university{\href{http://www.usfq.edu.ec}{Universidad San Francisco de Quito}}
% insert below the file name that contains the crest in-place of 'UnivShield'
  \crest{\includegraphics[width=30mm]{UnivShield}}
\else
  \author{César Izurieta}
  \collegeordept{Colegio de Ciencias e Ingenieria}
  \university{Universidad San Francisco de Quito}
% insert below the file name that contains the crest in-place of 'UnivShield'
  \crest{\includegraphics[bb = 0 0 292 336, width=30mm]{UnivShield}}
\fi
%
% insert below the file name that contains the crest in-place of 'UnivShield'
% \crest{\IncludeGraphicsW{UnivShield}{40mm}{14 14 73 81}}
%
%\renewcommand{\submittedtext}{change the default text here if needed}
\degree{Ingeniero de Sistemas}
\degreedate{Quito, Enero del 2009}

% turn of those nasty overfull and underfull hboxes
\hbadness=10000
\hfuzz=50pt

% Put all the style files you want in the directory StyleFiles and usepackage like this:
%\usepackage{StyleFiles/watermark}


\begin{document}

%\language{english}

\renewcommand\baselinestretch{1.2}
\baselineskip=18pt plus1pt

% A page with the abstract on including title and author etc may be
% required to be handed in separately. If this is not so, then comment
% the below 3 lines (between '\begin{abstractseparte}' and 
% 'end{abstractseparate}'), normally like a declaration ... needs some more
% work, mind as environment abstracts creates a new page!
% \begin{abstractseparate}
%   \input{Abstract/abstract}
% \end{abstractseparate}




% Using the watermark package which is in StyleFiles/
% and to remove DRAFT COPY ONLY appearing on the top of all pages comment out below line
%\watermark{BORRADOR 4}


\maketitle

%set the number of sectioning levels that get number and appear in the contents
\setcounter{secnumdepth}{3}
\setcounter{tocdepth}{3}

\frontmatter
\include{Approval/approval}
\begin{copyrigth}
\end{copyrigth}
\include{Dedication/dedication}
\include{Acknowledgement/acknowledgement}
\include{Summary/summary}
\include{Abstract/abstract}

\tableofcontents
\listoffigures
%\printglossary  %% Print the nomenclature
%\addcontentsline{toc}{chapter}{Nomenclature}


\mainmatter

\include{Introduction/introduction}
\include{Chapter1/chapter1}
\include{Chapter2/chapter2}
\include{Chapter3/chapter3}
\include{Chapter4/chapter4}
\include{Conclusions/conclusions}

\appendix
\include{Appendix1/appendix1}
\include{Appendix2/appendix2}
\include{Appendix3/appendix3}
\include{Appendix4/appendix4}



%\bibliographystyle{Classes/CUEDbiblio}
%\bibliographystyle{Classes/jmb}
%\bibliographystyle{plainnat} %this works with package natbib
%\bibliographystyle{unsrt} % bibliography style
\bibliographystyle{alpha} % bibliography style
\renewcommand{\bibname}{Referencias} % changes default name Bibliography to References
\bibliography{References/references} % References file
\addcontentsline{toc}{chapter}{Referencias} %adds References to contents page


\end{document}
